package com.db.curd;


/**
 * 测试主类
 * 参考 MyDAO
 */
import java.util.List;

import com.microhifo.bean.AddProvince;

@Deprecated
public class MainTest {
  public static void main(String[] args){
	  MyDAO dao = new MyDAO();
	  List<AddProvince> result = dao.getAll(AddProvince.class, "add_province");
	  System.out.println(result.size());
	  for(AddProvince data:result){
		  System.out.print(data.getProvince());
		  System.out.println();
	  }
	  
	  
  }
}
